package com.bo.ioc.config;

import com.bo.ioc.component.UserComponent;
import com.bo.ioc.repo.UserRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfig {
    @Autowired
    public UserRepo userRepo;
    public void run(){
        System.out.println("User Config...");
    }
    public void thoRun(){
        userRepo.run();
    }
}
